package com.flushbonading.classsystem.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.List;
import java.util.Map;

/**
 * @author zyx 2134208960@qq.com
 * @date 2021/11/9 17:31
 * @since 1.0.0
 */
@FeignClient(value = "config-service",fallback = FeignClientFallback.class)
public interface ConfigService {
    @GetMapping("/config/getConfig")
    public List<Map> getConfig(@RequestParam("content") String content);
}
